package thread.zjitc.net.lib.HomeWorkShare;

/**
 * @author 朱志文
 * @data 2019/10/24 0024
 */
public class Cunsumer implements Runnable {
    ShareThread shareThread;

    public Cunsumer(ShareThread shareThread) {
        this.shareThread = shareThread;
    }

    @Override
    public void run() {
        for (int i = 0; i < 5; i++) {
            shareThread.cunsumer();
        }

    }
}
